package com.chalk.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author xiaoqiang
 * @Description
 * @date 2019/3/22 17:49
 */
@ApiModel(value = "SysRoleMenuRelated", description = "平台角色菜单关联信息")
@Data
@TableName("t_sys_role_menu_related")
public class SysRoleMenuRelated {


    public SysRoleMenuRelated() {
    }

    public SysRoleMenuRelated(String roleId, String menuId) {
        this.roleId = roleId;
        this.menuId = menuId;
    }

    /**
     * 角色ID
     */
    @ApiModelProperty(name = "roleId", value = "角色ID")
    @TableField("role_id")
    private String roleId;

    /**
     * 菜单ID
     */
    @ApiModelProperty(name = "menuId", value = "菜单ID")
    @TableField("menu_id")
    private String menuId;
}
